package com.ciei.dpagm.entity;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

/**
 * @author wangyan
 * @since 2023-04-04
 */
public class ParameterVo implements Serializable {

    private static final long serialVersionUID=1L;

    private Integer parameterId;
    private Integer parentParameterId;
    private String parameterName;
    private Integer dataType;
    private String description;
    private Boolean append;
    private Boolean referenced;
    private List<ParameterVo> children = new ArrayList<>();

    public ParameterVo(Integer parameterId, Integer parentParameterId, String parameterName, Integer dataType, String description, Boolean append, Boolean referenced) {
        this.parameterId = parameterId;
        this.parentParameterId = parentParameterId;
        this.parameterName = parameterName;
        this.dataType = dataType;
        this.description = description;
        this.append = append;
        this.referenced = referenced;
    }

    public static long getSerialVersionUID() {
        return serialVersionUID;
    }

    public Integer getParameterId() {
        return parameterId;
    }

    public void setParameterId(Integer parameterId) {
        this.parameterId = parameterId;
    }

    public Integer getParentParameterId() {
        return parentParameterId;
    }

    public void setParentParameterId(Integer parentParameterId) {
        this.parentParameterId = parentParameterId;
    }

    public String getParameterName() {
        return parameterName;
    }

    public void setParameterName(String parameterName) {
        this.parameterName = parameterName;
    }

    public Integer getDataType() {
        return dataType;
    }

    public void setDataType(Integer dataType) {
        this.dataType = dataType;
    }

    public String getDescription() {
        return description;
    }

    public void setDescription(String description) {
        this.description = description;
    }

    public Boolean getAppend() {
        return append;
    }

    public void setAppend(Boolean append) {
        this.append = append;
    }

    public Boolean getReferenced() {
        return referenced;
    }

    public void setReferenced(Boolean referenced) {
        this.referenced = referenced;
    }

    public List<ParameterVo> getChildren() {
        return children;
    }

    public void setChildren(List<ParameterVo> children) {
        this.children = children;
    }
}
